html {
    /* Dynamic sized background */
    background: url(ressources/images/bkgd_pic.jpg) no-repeat center center fixed; /* Set the background image. */
    /* Fixes for browers */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

body {
	font-family: "Libre Baskerville",sans-serif;
}

/* The <br /> is set to work with the previous element
"clear" makes <br />; in addition to inserting a line break,
go past a pbject or a picture too.
This way, my little trick with the repeating image will be correctly displayed. */
br {
    clear:left;
}
 
.top-menu {

	/*Shape of the box*/
    max-width: 1220px;
    min-width: 850px;
    -moz-border-radius: 15px; /* Smoothes the edge of the blocks. Works with most browsers (IE >= 9) */
  border-radius: 15px; /* Fix for firefox */

    /* Position of the box */
    margin: auto;

    /* Misc*/
    box-shadow: rgba(0,0,0,0.4) 9px 5px;
    /* I use a single image that I repeat; so no mater the size of the window. That way, the menu bar will always de at the right size */
    background:#4A4B4B url('ressources/images/img_bg.gif') repeat-x
}
 
.top-menu ul {
    margin: 10px;
    padding: 0px;
    float: left; /*left or center works*/
}
 
.top-menu ul li {
    display: inline;
}
 
.top-menu ul li a {
    float: left;
    text-decoration: none;
    color: #DADADA;
    padding: 10.5px 11px;
}
 
.top-menu ul li a:visited {
    color: #DADADA;
}
 
.top-menu ul li a:hover, .left-menu ul li .current {
	border-radius: 15px;
    -moz-border-radius: 15px;
    color: white;
    background-color:rgba(11, 173, 227, 1);
}

.login-box {
	float: right;
	color: white;
	margin-top: 19px;
	margin-right: 15px;
	opacity: 0.9px;
}

.login-box a {
	text-decoration: none;
	color:darkred;
}

.login-name {
	color:green;
	font-weight: bold;
	display: inline-block;
}

/* FOOTER */
footer {
	text-align: center;
	max-width: 1220px;
	min-height: 40px;

	margin: auto;
	opacity:0.3;
	background-color: #ffffff; /*Set the opacity to 60% of default. Works with most browsers. */
	filter:alpha(opacity=30); /* For IE8 and earlier, courtesy of our dear teacher. */

    -moz-border-radius: 15px; /* Smoothes the edge of the blocks. Works with most browsers (IE >= 9) */
    border-radius: 15px; /* Fix for firefox */

  /*Shadows*/
    box-shadow: rgba(0,0,0,0.4) 9px 5px;
}

/* Postbox -BEGIN- */
/* This is a transparent textbox. Yup. No kidding. */
div.postbox
{
	-moz-border-radius: 15px; /* Fix for firefox */
	border-radius: 15px; /* Smoothes the edge of the blocks. Works with most browsers (IE >= 9) */

 	max-width: 1220px;
 	min-width: 650px;
 	min-height: 200px;

 	margin: 15px auto;
 	background-color: #ffffff;
 	
	opacity:0.6; /*Set the opacity to 60% of default. Works with most browsers. */
	filter:alpha(opacity=60); /* For IE8 and earlier, courtesy of our dear teacher. */

 	/*Shadows. Works. Might need to tweak values a bit. */
 	box-shadow: rgba(0,0,0,0.4) 9px 5px;
}

div.postbox p
{
    margin: 30px 40px;
    color: #000000;
}



.postbox-avatar_box {
	height: 200px;
	width: 200px;
	float: left;
	background-color: #ffffff;
}
.postbox-avatar_box img {
	/* Resize avatar image */
	width: 200px;
	height: auto;

	/* Shape the image */
}
.postbox-avatar_box-info {
    -moz-border-radius: 15px;
    border-radius: 15px;
    margin-left: 15px;
}

.postbox-frame {
	min-height: 350px;
}

.postbox-title {

	-moz-border-radius-topleft: 15px; /* Fix for firefox */
	-moz-border-radius-topright: 15px;
	border-top-left-radius: 15px; /* Smoothes the edge of the blocks. Works with most browsers (IE >= 9) */
	border-top-right-radius: 15px;

	min-height: 20px;
	font-size: large;
	font-weight: bold;
	background:#4A4B4B url('ressources/images/img_bg.gif') repeat-x;
    padding-left: 15px;
}

.postbox-title a {
	text-decoration: none;
	float:right;
	margin-right: 15px;
}

.postbox-text {
	margin-left: 200px;
	padding-top: 5px;
	padding-left: 10px;
	padding-right: 10px; 
}

/* Postbox -END- */

/* Info-box -BEGIN- */
.info-box {
	/* Size and shape of the box */

	max-width: 1220px;
	min-width: 650px;

	width:785px;
	text-align: center;
	/* Position of the box */
	margin:15px auto auto;

	/* Misc */
	background-color: #ffffff;
}

.info-box-title {
	/* Size and shape of the box */
	min-height: 20px;
	font-size: large;
	font-weight: bold;
	/*background-color:#4A4B4B;*/
	padding-left: 15px;
}
/* Info-box -END- */


/* For inscription page */
.inscription-box {
	-moz-border-radius: 15px; /* Smoothes the edge of the blocks. Works with most browsers (IE >= 9) */
	border-radius: 15px; /* Fix for firefox */
	position: relative;

	/* General */
  	max-width: 1220px;
  	min-height: 8000px;
  	margin: 15px auto;
  	background-color: #ffffff;
  	min-height: 800px;
  	opacity:0.6; /*Set the opacity to 60% of default. Works with most browsers. */
  	filter:alpha(opacity=60); /* For IE8 and earlier, courtesy of our dear teacher. */

  	/*Shadows. Works. Might need to tweak values a bit. */
  	box-shadow: rgba(0,0,0,0.4) 9px 5px;
}

/* Topicbox -BEGIN- */
.topic-box {
	-moz-border-radius: 15px; /* Smoothes the edge of the blocks. Works with most browsers (IE >= 9) */
	border-radius: 15px; /* Fix for firefox */
	position: relative;

	/* General */
  	max-width: 1220px;
  	min-height: 8000px;
  	margin: 15px auto;
  	background-color: #ffffff;
  	min-height: 800px;
  	opacity:0.6; /*Set the opacity to 60% of default. Works with most browsers. */
  	filter:alpha(opacity=60); /* For IE8 and earlier, courtesy of our dear teacher. */

  	/*Shadows. Works. Might need to tweak values a bit. */
  	box-shadow: rgba(0,0,0,0.4) 9px 5px;
}

/* TODO : Alternate background color */
.topic-box-frame {
	text-align: center;
}

.topic {
	background-color: lightgrey;
	display: block;
	margin: auto;
}
/* Topicbox -END- */

/* Coredesign -BEGIN- */
/* Barebone design for simple pages */
.core-design {
	text-align: center;
	-moz-border-radius: 15px; /* Fix for firefox */
	border-radius: 15px; /* Smoothes the edge of the blocks. Works with most browsers (IE >= 9) */

 	max-width: 1220px;

 	margin: 15px auto;
 	background-color: #ffffff;

	opacity:0.6; /*Set the opacity to 60% of default. Works with most browsers. */
	filter:alpha(opacity=60); /* For IE8 and earlier, courtesy of our dear teacher. */

 	/*Shadows. Works. Might need to tweak values a bit. */
 	box-shadow: rgba(0,0,0,0.4) 9px 5px;
}	
/* Coredesign -END- */
/* Style for affCategorie */
.catbox {
	-moz-border-radius: 15px; /* Fix for firefox */
	border-radius: 15px; /* Smoothes the edge of the blocks. Works with most browsers (IE >= 9) */

 	max-width: 1220px;
 	min-width: 650px;
 	min-height: 200px;

 	margin: 15px auto;
 	background-color: #ffffff;

	opacity:0.6; /*Set the opacity to 60% of default. Works with most browsers. */
	filter:alpha(opacity=60); /* For IE8 and earlier, courtesy of our dear teacher. */

 	/*Shadows. Works. Might need to tweak values a bit. */
 	box-shadow: rgba(0,0,0,0.4) 9px 5px;
}

/* Style for affPost */
.catbox {
	-moz-border-radius: 15px; /* Fix for firefox */
	border-radius: 15px; /* Smoothes the edge of the blocks. Works with most browsers (IE >= 9) */

 	max-width: 1220px;
 	min-width: 650px;
 	min-height: 20px;

 	margin: 15px auto;
 	background-color: #ffffff;

	opacity:0.6; /*Set the opacity to 60% of default. Works with most browsers. */
	filter:alpha(opacity=60); /* For IE8 and earlier, courtesy of our dear teacher. */

 	/*Shadows. Works. Might need to tweak values a bit. */
 	box-shadow: rgba(0,0,0,0.4) 9px 5px;
}

/* Style for affTopic */
.topicbox {
	-moz-border-radius: 15px; /* Fix for firefox */
	border-radius: 15px; /* Smoothes the edge of the blocks. Works with most browsers (IE >= 9) */

 	max-width: 1220px;
 	min-width: 650px;
 	min-height: 200px;

 	margin: 15px auto;
 	background-color: #ffffff;

	opacity:0.6; /*Set the opacity to 60% of default. Works with most browsers. */
	filter:alpha(opacity=60); /* For IE8 and earlier, courtesy of our dear teacher. */

 	/*Shadows. Works. Might need to tweak values a bit. */
 	box-shadow: rgba(0,0,0,0.4) 9px 5px;
}
.delete-topic {
    color: red;
    text-decoration: none;
}